// Decompiled by DJ v3.7.7.81 Copyright 2004 Atanas Neshkov  Date: 2007-9-15 18:54:18


// Source File Name:   qj.java

package com.zelix;

import java.io.*;
import java.util.Vector;


//            gj, tb, zo, hk, 
//            nh, oh, pb, vh, 
//            mb, zu, si

public class qj extends gj
{

    private static String z[];

    public qj(int i)
    {
        super(i);
    }

    public static String a(Vector vector, int i)
    {
        int j;
        String s;
        StringBuffer stringbuffer;
        int k;
        int l;
        l = si.g;
        j = vector.size();
        if(j <= 0)
            break MISSING_BLOCK_LABEL_192;
        s = zu.a("", 'L', i, ' ');
        stringbuffer = new StringBuffer(100);
        stringbuffer.append(zo.e + zu.a(z[0], 'L', i, ' '));
        k = 0;
        if(l == 0) goto _L2; else goto _L1
_L1:
        Object obj = vector.elementAt(k);
        if(k > 0)
            stringbuffer.append(s);
        stringbuffer.append(obj.toString());
        if(k < j - 1)
        {
            stringbuffer.append(z[1] + zo.e);
            if(l == 0)
                continue; /* Loop/switch isn't completed */
        }
        stringbuffer.append(";" + zo.e);
        k++;
_L2:
        if(k < j) goto _L1; else goto _L3
_L3:
        return stringbuffer.toString();
        return null;
    }

    protected void a(nh nh1, int i, int j)
    {
        nh1.g(this);
    }

    public String a()
    {
        return z[0];
    }

    public static gj a(String s, nh nh1)
        throws tb
    {
        BufferedReader bufferedreader = new BufferedReader(new StringReader(s));
        try
        {
            oh oh1 = new oh(bufferedreader);
            vh vh1 = oh1.A();
            vh1.a(null, nh1);
            gj gj1 = ((hk)vh1).a();
            return gj1;
        }
        catch(pb pb1)
        {
            throw new tb(pb1.toString());
        }
        catch(mb mb1)
        {
            throw new tb(mb1.toString());
        }
    }

    protected void a(nh nh1)
    {
        String s = vh.e() + z[2];
        PrintWriter printwriter = nh1.n();
        printwriter.println(s);
        System.out.println(s);
    }
           private static String z(char[] chs) {
        for (int i = 0; i < chs.length; i++) {
            byte key = 0;
            switch (i % 5) {
                case 0:
                    key = 0x4f;
                    break;
                case 1:
                    key = 100;
                    break;
                case 2:
                    key = 35;
                    break;
                case 3:
                    key = 29;
                    break;
                default:
                    key = 88;
                    break;
            }
            chs[i] ^= key;
        }
        return new String(chs).intern();
    }
    static 
    {
        String as[];
        as = new String[3];
        as[0] = ";\026Jp\0357\007Oh<*";
        as[1] = "o\005My";
        as[2] = "o7Fi,&\nD=,=\rN==7\007Oh+&\013MnvaJ";
        for (int i = 0; i < as.length; i++) {
            as[i] = z(as[i].toCharArray());
        }
        z = as;
    }
}